<?php
/*
* Copyright (c) 2010 by Cediti
*
* You may distribute under the terms of either the GNU Lesser General
* Public License or the new BSD License, as specified in the README file.
*/
// created :    09/02/2010
// version :    02/04/2010

class Cmis_Client_Rest_Generic_Repository extends Cmis_Client_Rest_Generic_Abstract implements Cmis_Services_Protocol_Repository
{
	public function getRepositories($endpoint)
	{
        return $this->_callServices($endpoint);
	}

	public function getRepositoryInfo(Cmis_Repository_Id $repositoryId)
	{
		throw new Cmis_Client_Rest_Exception('Should not be call');
	}

	public function getTypeChildren(Cmis_Repository_Id $repositoryId, $typeId = null, $includePropertyDefinitions = false, $maxItems = null, $skipCount = null)
	{
		//$cur = $this->_info->getRepositoryById($repositoryId);

		die('-[Must be implemented : ' . __METHOD__ . ' (' . __FILE__ . '#' . __LINE__ . ')]-');
	}

	public function getTypeDescendants(Cmis_Repository_Id $repositoryId, $typeId = null, $depth = null, $includePropertyDefinitions = false)
	{
		die('-[Must be implemented : ' . __METHOD__ . ' (' . __FILE__ . '#' . __LINE__ . ')]-');
	}

	public function getTypeDefinition(Cmis_Repository_Id $repositoryId, $typeId)
	{
		die('-[Must be implemented : ' . __METHOD__ . ' (' . __FILE__ . '#' . __LINE__ . ')]-');
	}
}

# EOF
